﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using InformationSystem.BLL.Core.Model;
using InformationSystem.BLL.Core.Service;
using Ext.Net;

namespace InformationSystem.WebSite.Module.StuMgr
{
    public partial class StuMark : BasePage
    {
        public IStudentService StudentService;
        LoginUser user = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            user = (LoginUser)Session["LoginUser"];
            if (!X.IsAjaxRequest && !IsPostBack)
            {
                StuMarkStore.DataSource = StudentService.GetStudentMarkList(user.StudentID,user);
                StuMarkStore.DataBind();
            }
        }

        protected override bool CommitPermissionCheck()
        {
            throw new NotImplementedException();
        }
    }
}